#if !defined(AFX_PROGRESSDLG_H__EFB15318_58A9_47A6_A834_15F423B64492__INCLUDED_)
#define AFX_PROGRESSDLG_H__EFB15318_58A9_47A6_A834_15F423B64492__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProgressDlg.h : header file
//
#include "ProgressBarCtrl.h"

/////////////////////////////////////////////////////////////////////////////
// CProgressDlg dialog
#define ProgressMaxSize		200
class CProgressDlg : public CDialog
{
// Construction
public:
	void UpdateInfo();
	CProgressDlg(CWnd* pParent = NULL);   // standard constructor
	CBrush m_brush; 
	void SetPos(int nPos);
	int GetPos();
	bool	m_bInitOk;
	BOOL m_bBeginToClose;
// Dialog Data
	//{{AFX_DATA(CProgressDlg)
	enum { IDD = IDD_PROGRESS_DLG };
//	CGradientProgressCtrl	m_cProgress;
	CProgressBarCtrl	m_cProgress;
	CString	m_strInfo;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CProgressDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CProgressDlg)
	virtual BOOL OnInitDialog();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnButton1();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROGRESSDLG_H__EFB15318_58A9_47A6_A834_15F423B64492__INCLUDED_)
